/*******************************************************************************
 * Copyright (c) 2006 CEA List.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     CEA List - initial API and implementation
 *******************************************************************************/
package com.cea.papyrus.core.directedit;

/**
 * Interface used to encapsulate access to a property of the model.
 */
public interface IPropertyAccessor {
	
	/**
	 * Returns the name of the accessed property.
	 * 
	 * @return the name of the accessed property
	 */
	public abstract String getPropertyName();
	
	/**
	 * Set the new value opf the property.
	 * 
	 * @param value the new value of the property
	 */
	public abstract void setValue(String value);
	
	/**
	 * Returns the current value of the accessed property.
	 * 
	 * @return the current value of the accessed property
	 */
	public abstract String getValue();
}